'''
@Author: hua
@Date: 2019-12-10 17:17:24
@description: 
@LastEditors: hua
@LastEditTime: 2019-12-14 11:18:11
'''
"""
默认配置项
"""
configs = {
    'test_environment': 'DEV',
    'dev_test_url': '',
    'demo_test_url': '',
    'pro_test_url': '',
    'appium_path': 'C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\build\\lib',
    'project_path': 'D:/phpstudy/PHPTutorial/2019//unit-python',
    'app_path_android': 'D:/phpstudy/PHPTutorial/2019/unit-python/config/AREX_Debug_2.4.7.10.apk',
    'app_path_ios': '../../app/blackboard_1.app',
    'app_package': 'com.blockchain.arex',
    'bundle_id': 'com.blockchain.arex',
    'prefix': 'com.blockchain.arex',
    'app_activity': 'com.blockchain.arex.view.SplashActivityV2',
    'usecase_path': '../../data',
    'useful_case': '0:-1',
    'report_path': '/xreports/test_report/',
    'screenShot_path': '/xreports/screen_shot/',
    'send_email': '0',
    'sender': '453961313@qq.com',
    'sender_auth': 'szuecvyzsxmqbjha',
    'sender_host': 'smtp.qq.com',
    'sender_port': '465',
    'recipient': '453961313@qq.com',
    'log_path': '/xreports/test_log/',
    'report_init_name': 'init.txt',
    'report_info_name': 'info.txt',
    'report_collect_name': 'collect.txt',
    'report_crash_name': 'crash.txt',
    'log': {
        'backup': '',
        'console_level': 'warning',
        'file_level': 'debug',
        'pattern': '[%(asctime)s] [%(levelname)s] %(filename)s[line:%(lineno)d]     %(message)s'
    }
}

"""
mac os 环境配置
"""
mac_configs = {
    'test_environment': 'DEV',
    'appium_path': '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/build/lib',
    'project_path': '/Users/david/Desktop/unit-python',
    'app_path_android': '/Users/david/Desktop/config/AREX_Debug_2.4.8.apk',
    'app_path_ios': '../../app/blackboard_1.app',
    'log': {
        'backup': '',
        'console_level': 'warning',
        'file_level': 'debug',
        'pattern': '[%(asctime)s] [%(levelname)s] %(filename)s[line:%(lineno)d]     %(message)s'
    }
}
